<template>
  <div id="ph-login">
    <LoginWp>
      <Login-container slot="login-container">
        <span slot="p-login">账号密码登录</span>
        <img src="./person.png" alt="" slot="p-icon" />
        <div slot="psw"></div>
        <div slot="ph-yzm" class="ph-yzm">
          <van-field v-model="sms" center clearable placeholder="短信验证码">
          </van-field>
          <van-button type="primary" class="get-yzm">获取验证码</van-button>
        </div>
      </Login-container>
    </LoginWp>
  </div>
</template>

<script>
import LoginWp from './loginWp.vue';
import LoginContainer from './loginContainer.vue';
export default {
  name: 'phLogin',
  data() {
    return {
      sms: 'sas',
    };
  },
  components: {
    LoginWp,
    LoginContainer,
  },
};
</script>

<style scoped>
::v-deep.ph-yzm {
  margin-top: -20px;
  margin-bottom: 14px;
  position: relative;
}
::v-deep.get-yzm {
  position: absolute;
  width: 110px;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  top: 26px;
  right: 10px;
  background-color: #498e3d;
  border: 0;
}
</style>
